const router = require('koa-router')();

router.get('/api/login', async (ctx, next) => {
  ctx.body = {
    code: 0,
    msg: '登陆'
  }
})

router.post('/api/register', async (ctx, next) => {
  ctx.body = {
    code: 0,
    msg: '注册'
  }
})

module.exports = router;